<?xml version='1.0' encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="cpip.css" rel="stylesheet" type="text/css" />
    <title>File: /usr/include/sys/errno.h</title>
  </head>
  <body>
    <h1>File: /usr/include/sys/errno.h</h1>
    <p>Green shading in the line number column
means the source is part of the translation unit, red means it is conditionally excluded.
Highlighted line numbers link to the translation unit page. Highlighted macros link to
the macro page.</p>
    <pre><a name="1" /><span class="True">       1:</span> <span class="k">/*</span>
<a name="2" /><span class="True">       2:</span> <span class="k"> * Copyright (c) 2000-2012 Apple, Inc. All rights reserved.</span>
<a name="3" /><span class="True">       3:</span> <span class="k"> *</span>
<a name="4" /><span class="True">       4:</span> <span class="k"> * @APPLE_OSREFERENCE_LICENSE_HEADER_START@</span>
<a name="5" /><span class="True">       5:</span> <span class="k"> * </span>
<a name="6" /><span class="True">       6:</span> <span class="k"> * This file contains Original Code and/or Modifications of Original Code</span>
<a name="7" /><span class="True">       7:</span> <span class="k"> * as defined in and that are subject to the Apple Public Source License</span>
<a name="8" /><span class="True">       8:</span> <span class="k"> * Version 2.0 (the &apos;License&apos;). You may not use this file except in</span>
<a name="9" /><span class="True">       9:</span> <span class="k"> * compliance with the License. The rights granted to you under the License</span>
<a name="10" /><span class="True">      10:</span> <span class="k"> * may not be used to create, or enable the creation or redistribution of,</span>
<a name="11" /><span class="True">      11:</span> <span class="k"> * unlawful or unlicensed copies of an Apple operating system, or to</span>
<a name="12" /><span class="True">      12:</span> <span class="k"> * circumvent, violate, or enable the circumvention or violation of, any</span>
<a name="13" /><span class="True">      13:</span> <span class="k"> * terms of an Apple operating system software license agreement.</span>
<a name="14" /><span class="True">      14:</span> <span class="k"> * </span>
<a name="15" /><span class="True">      15:</span> <span class="k"> * Please obtain a copy of the License at</span>
<a name="16" /><span class="True">      16:</span> <span class="k"> * http://www.opensource.apple.com/apsl/ and read it before using this file.</span>
<a name="17" /><span class="True">      17:</span> <span class="k"> * </span>
<a name="18" /><span class="True">      18:</span> <span class="k"> * The Original Code and all software distributed under the License are</span>
<a name="19" /><span class="True">      19:</span> <span class="k"> * distributed on an &apos;AS IS&apos; basis, WITHOUT WARRANTY OF ANY KIND, EITHER</span>
<a name="20" /><span class="True">      20:</span> <span class="k"> * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,</span>
<a name="21" /><span class="True">      21:</span> <span class="k"> * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,</span>
<a name="22" /><span class="True">      22:</span> <span class="k"> * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.</span>
<a name="23" /><span class="True">      23:</span> <span class="k"> * Please see the License for the specific language governing rights and</span>
<a name="24" /><span class="True">      24:</span> <span class="k"> * limitations under the License.</span>
<a name="25" /><span class="True">      25:</span> <span class="k"> * </span>
<a name="26" /><span class="True">      26:</span> <span class="k"> * @APPLE_OSREFERENCE_LICENSE_HEADER_END@</span>
<a name="27" /><span class="True">      27:</span> <span class="k"> */</span>
<a name="28" /><span class="True">      28:</span> <span class="k">/* Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved */</span>
<a name="29" /><span class="True">      29:</span> <span class="k">/*</span>
<a name="30" /><span class="True">      30:</span> <span class="k"> * Copyright (c) 1982, 1986, 1989, 1993</span>
<a name="31" /><span class="True">      31:</span> <span class="k"> *    The Regents of the University of California.  All rights reserved.</span>
<a name="32" /><span class="True">      32:</span> <span class="k"> * (c) UNIX System Laboratories, Inc.</span>
<a name="33" /><span class="True">      33:</span> <span class="k"> * All or some portions of this file are derived from material licensed</span>
<a name="34" /><span class="True">      34:</span> <span class="k"> * to the University of California by American Telephone and Telegraph</span>
<a name="35" /><span class="True">      35:</span> <span class="k"> * Co. or Unix System Laboratories, Inc. and are reproduced herein with</span>
<a name="36" /><span class="True">      36:</span> <span class="k"> * the permission of UNIX System Laboratories, Inc.</span>
<a name="37" /><span class="True">      37:</span> <span class="k"> *</span>
<a name="38" /><span class="True">      38:</span> <span class="k"> * Redistribution and use in source and binary forms, with or without</span>
<a name="39" /><span class="True">      39:</span> <span class="k"> * modification, are permitted provided that the following conditions</span>
<a name="40" /><span class="True">      40:</span> <span class="k"> * are met:</span>
<a name="41" /><span class="True">      41:</span> <span class="k"> * 1. Redistributions of source code must retain the above copyright</span>
<a name="42" /><span class="True">      42:</span> <span class="k"> *    notice, this list of conditions and the following disclaimer.</span>
<a name="43" /><span class="True">      43:</span> <span class="k"> * 2. Redistributions in binary form must reproduce the above copyright</span>
<a name="44" /><span class="True">      44:</span> <span class="k"> *    notice, this list of conditions and the following disclaimer in the</span>
<a name="45" /><span class="True">      45:</span> <span class="k"> *    documentation and/or other materials provided with the distribution.</span>
<a name="46" /><span class="True">      46:</span> <span class="k"> * 3. All advertising materials mentioning features or use of this software</span>
<a name="47" /><span class="True">      47:</span> <span class="k"> *    must display the following acknowledgement:</span>
<a name="48" /><span class="True">      48:</span> <span class="k"> *    This product includes software developed by the University of</span>
<a name="49" /><span class="True">      49:</span> <span class="k"> *    California, Berkeley and its contributors.</span>
<a name="50" /><span class="True">      50:</span> <span class="k"> * 4. Neither the name of the University nor the names of its contributors</span>
<a name="51" /><span class="True">      51:</span> <span class="k"> *    may be used to endorse or promote products derived from this software</span>
<a name="52" /><span class="True">      52:</span> <span class="k"> *    without specific prior written permission.</span>
<a name="53" /><span class="True">      53:</span> <span class="k"> *</span>
<a name="54" /><span class="True">      54:</span> <span class="k"> * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS&apos;&apos; AND</span>
<a name="55" /><span class="True">      55:</span> <span class="k"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
<a name="56" /><span class="True">      56:</span> <span class="k"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>
<a name="57" /><span class="True">      57:</span> <span class="k"> * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE</span>
<a name="58" /><span class="True">      58:</span> <span class="k"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span>
<a name="59" /><span class="True">      59:</span> <span class="k"> * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS</span>
<a name="60" /><span class="True">      60:</span> <span class="k"> * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)</span>
<a name="61" /><span class="True">      61:</span> <span class="k"> * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span>
<a name="62" /><span class="True">      62:</span> <span class="k"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY</span>
<a name="63" /><span class="True">      63:</span> <span class="k"> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>
<a name="64" /><span class="True">      64:</span> <span class="k"> * SUCH DAMAGE.</span>
<a name="65" /><span class="True">      65:</span> <span class="k"> *</span>
<a name="66" /><span class="True">      66:</span> <span class="k"> *    @(#)errno.h    8.5 (Berkeley) 1/21/94</span>
<a name="67" /><span class="True">      67:</span> <span class="k"> */</span>
<a name="68" /><span class="True">      68:</span> 
<a name="69" /><span class="True">      69:</span> <span class="f">#</span><span class="n">ifndef</span>    <a href="macros_noref.html#_X1NZU19FUlJOT19IX18w"><span class="b">_SYS_ERRNO_H_</span></a>
<a name="70" /><span class="True">      70:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_X1NZU19FUlJOT19IX18w"><span class="b">_SYS_ERRNO_H_</span></a>
<a name="71" /><span class="True">      71:</span> 
<a name="72" /><span class="True">      72:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="b">sys</span><span class="f">/</span><span class="b">cdefs</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="73" /><span class="True">      73:</span> 
<a name="74" /><span class="True">      74:</span> 
<a name="75" /><span class="True">      75:</span> <span class="f">#</span><span class="n">if</span> <span class="b">defined</span><span class="f">(</span><a href="macros_ref.html#_X19TVERDX1dBTlRfTElCX0VYVDFfX18w"><span class="b">__STDC_WANT_LIB_EXT1__</span></a><span class="f">)</span> <span class="f">&amp;&amp;</span> <a href="macros_ref.html#_X19TVERDX1dBTlRfTElCX0VYVDFfX18w"><span class="b">__STDC_WANT_LIB_EXT1__</span></a> <span class="f">&gt;=</span> <span class="c">1</span>
<a name="76" /><span class="True">      76:</span> <span class="f">#</span><span class="n">include</span> <span class="f">&lt;</span><span class="b">sys</span><span class="f">/</span><span class="b">_types</span><span class="f">/</span><span class="b">_errno_t</span><span class="f">.</span><span class="b">h</span><span class="f">&gt;</span>
<a name="77" /><span class="True">      77:</span> <span class="f">#</span><span class="n">endif</span>
<a name="78" /><span class="True">      78:</span> 
<a name="79" /><span class="True">      79:</span> <a href="macros_ref.html#_X19CRUdJTl9ERUNMU18w"><span class="b">__BEGIN_DECLS</span></a>
<a name="80" /><span class="True">      80:</span> <span class="m">extern</span> <span class="m">int</span> <span class="f">*</span> <span class="b">__error</span><span class="f">(</span><span class="m">void</span><span class="f">)</span><span class="f">;</span>
<a name="81" /><span class="True">      81:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_ZXJybm9fMA__"><span class="b">errno</span></a> <span class="f">(</span><span class="f">*</span><span class="b">__error</span><span class="f">(</span><span class="f">)</span><span class="f">)</span>
<a name="82" /><span class="True">      82:</span> <a href="macros_ref.html#_X19FTkRfREVDTFNfMA__"><span class="b">__END_DECLS</span></a>
<a name="83" /><span class="True">      83:</span> 
<a name="84" /><span class="True">      84:</span> <span class="k">/*</span>
<a name="85" /><span class="True">      85:</span> <span class="k"> * Error codes</span>
<a name="86" /><span class="True">      86:</span> <span class="k"> */</span>
<a name="87" /><span class="True">      87:</span> 
<a name="88" /><span class="True">      88:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBFUk1fMA__"><span class="b">EPERM</span></a>        <span class="c">1</span>        <span class="k">/* Operation not permitted */</span>
<a name="89" /><span class="True">      89:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PRU5UXzA_"><span class="b">ENOENT</span></a>        <span class="c">2</span>        <span class="k">/* No such file or directory */</span>
<a name="90" /><span class="True">      90:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVNSQ0hfMA__"><span class="b">ESRCH</span></a>        <span class="c">3</span>        <span class="k">/* No such process */</span>
<a name="91" /><span class="True">      91:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlOVFJfMA__"><span class="b">EINTR</span></a>        <span class="c">4</span>        <span class="k">/* Interrupted system call */</span>
<a name="92" /><span class="True">      92:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlPXzA_"><span class="b">EIO</span></a>        <span class="c">5</span>        <span class="k">/* Input/output error */</span>
<a name="93" /><span class="True">      93:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5YSU9fMA__"><span class="b">ENXIO</span></a>        <span class="c">6</span>        <span class="k">/* Device not configured */</span>
<a name="94" /><span class="True">      94:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RTJCSUdfMA__"><span class="b">E2BIG</span></a>        <span class="c">7</span>        <span class="k">/* Argument list too long */</span>
<a name="95" /><span class="True">      95:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PRVhFQ18w"><span class="b">ENOEXEC</span></a>        <span class="c">8</span>        <span class="k">/* Exec format error */</span>
<a name="96" /><span class="True">      96:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUJBREZfMA__"><span class="b">EBADF</span></a>        <span class="c">9</span>        <span class="k">/* Bad file descriptor */</span>
<a name="97" /><span class="True">      97:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUNISUxEXzA_"><span class="b">ECHILD</span></a>        <span class="c">10</span>        <span class="k">/* No child processes */</span>
<a name="98" /><span class="True">      98:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RURFQURMS18w"><span class="b">EDEADLK</span></a>        <span class="c">11</span>        <span class="k">/* Resource deadlock avoided */</span>
<a name="99" /><span class="True">      99:</span>                     <span class="k">/* 11 was EAGAIN */</span>
<a name="100" /><span class="True">     100:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PTUVNXzA_"><span class="b">ENOMEM</span></a>        <span class="c">12</span>        <span class="k">/* Cannot allocate memory */</span>
<a name="101" /><span class="True">     101:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFDQ0VTXzA_"><span class="b">EACCES</span></a>        <span class="c">13</span>        <span class="k">/* Permission denied */</span>
<a name="102" /><span class="True">     102:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUZBVUxUXzA_"><span class="b">EFAULT</span></a>        <span class="c">14</span>        <span class="k">/* Bad address */</span>
<a name="103" /><span class="True">     103:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="104" /><span class="True">     104:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVEJMS18w"><span class="b">ENOTBLK</span></a>        <span class="c">15</span>        <span class="k">/* Block device required */</span>
<a name="105" /><span class="True">     105:</span> <span class="f">#</span><span class="n">endif</span>
<a name="106" /><span class="True">     106:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUJVU1lfMA__"><span class="b">EBUSY</span></a>        <span class="c">16</span>        <span class="k">/* Device / Resource busy */</span>
<a name="107" /><span class="True">     107:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUVYSVNUXzA_"><span class="b">EEXIST</span></a>        <span class="c">17</span>        <span class="k">/* File exists */</span>
<a name="108" /><span class="True">     108:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVhERVZfMA__"><span class="b">EXDEV</span></a>        <span class="c">18</span>        <span class="k">/* Cross-device link */</span>
<a name="109" /><span class="True">     109:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PREVWXzA_"><span class="b">ENODEV</span></a>        <span class="c">19</span>        <span class="k">/* Operation not supported by device */</span>
<a name="110" /><span class="True">     110:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVERJUl8w"><span class="b">ENOTDIR</span></a>        <span class="c">20</span>        <span class="k">/* Not a directory */</span>
<a name="111" /><span class="True">     111:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlTRElSXzA_"><span class="b">EISDIR</span></a>        <span class="c">21</span>        <span class="k">/* Is a directory */</span>
<a name="112" /><span class="True">     112:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlOVkFMXzA_"><span class="b">EINVAL</span></a>        <span class="c">22</span>        <span class="k">/* Invalid argument */</span>
<a name="113" /><span class="True">     113:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5GSUxFXzA_"><span class="b">ENFILE</span></a>        <span class="c">23</span>        <span class="k">/* Too many open files in system */</span>
<a name="114" /><span class="True">     114:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU1GSUxFXzA_"><span class="b">EMFILE</span></a>        <span class="c">24</span>        <span class="k">/* Too many open files */</span>
<a name="115" /><span class="True">     115:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVFRZXzA_"><span class="b">ENOTTY</span></a>        <span class="c">25</span>        <span class="k">/* Inappropriate ioctl for device */</span>
<a name="116" /><span class="True">     116:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVRYVEJTWV8w"><span class="b">ETXTBSY</span></a>        <span class="c">26</span>        <span class="k">/* Text file busy */</span>
<a name="117" /><span class="True">     117:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUZCSUdfMA__"><span class="b">EFBIG</span></a>        <span class="c">27</span>        <span class="k">/* File too large */</span>
<a name="118" /><span class="True">     118:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PU1BDXzA_"><span class="b">ENOSPC</span></a>        <span class="c">28</span>        <span class="k">/* No space left on device */</span>
<a name="119" /><span class="True">     119:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVNQSVBFXzA_"><span class="b">ESPIPE</span></a>        <span class="c">29</span>        <span class="k">/* Illegal seek */</span>
<a name="120" /><span class="True">     120:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVJPRlNfMA__"><span class="b">EROFS</span></a>        <span class="c">30</span>        <span class="k">/* Read-only file system */</span>
<a name="121" /><span class="True">     121:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU1MSU5LXzA_"><span class="b">EMLINK</span></a>        <span class="c">31</span>        <span class="k">/* Too many links */</span>
<a name="122" /><span class="True">     122:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBJUEVfMA__"><span class="b">EPIPE</span></a>        <span class="c">32</span>        <span class="k">/* Broken pipe */</span>
<a name="123" /><span class="True">     123:</span> 
<a name="124" /><span class="True">     124:</span> <span class="k">/* math software */</span>
<a name="125" /><span class="True">     125:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RURPTV8w"><span class="b">EDOM</span></a>        <span class="c">33</span>        <span class="k">/* Numerical argument out of domain */</span>
<a name="126" /><span class="True">     126:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVJBTkdFXzA_"><span class="b">ERANGE</span></a>        <span class="c">34</span>        <span class="k">/* Result too large */</span>
<a name="127" /><span class="True">     127:</span> 
<a name="128" /><span class="True">     128:</span> <span class="k">/* non-blocking and interrupt i/o */</span>
<a name="129" /><span class="True">     129:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFHQUlOXzA_"><span class="b">EAGAIN</span></a>        <span class="c">35</span>        <span class="k">/* Resource temporarily unavailable */</span>
<a name="130" /><span class="True">     130:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVdPVUxEQkxPQ0tfMA__"><span class="b">EWOULDBLOCK</span></a>    <a href="macros_noref.html#_RUFHQUlOXzA_"><span class="b">EAGAIN</span></a>        <span class="k">/* Operation would block */</span>
<a name="131" /><span class="True">     131:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlOUFJPR1JFU1NfMA__"><span class="b">EINPROGRESS</span></a>    <span class="c">36</span>        <span class="k">/* Operation now in progress */</span>
<a name="132" /><span class="True">     132:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFMUkVBRFlfMA__"><span class="b">EALREADY</span></a>    <span class="c">37</span>        <span class="k">/* Operation already in progress */</span>
<a name="133" /><span class="True">     133:</span> 
<a name="134" /><span class="True">     134:</span> <span class="k">/* ipc/network software -- argument errors */</span>
<a name="135" /><span class="True">     135:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVFNPQ0tfMA__"><span class="b">ENOTSOCK</span></a>    <span class="c">38</span>        <span class="k">/* Socket operation on non-socket */</span>
<a name="136" /><span class="True">     136:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RURFU1RBRERSUkVRXzA_"><span class="b">EDESTADDRREQ</span></a>    <span class="c">39</span>        <span class="k">/* Destination address required */</span>
<a name="137" /><span class="True">     137:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU1TR1NJWkVfMA__"><span class="b">EMSGSIZE</span></a>    <span class="c">40</span>        <span class="k">/* Message too long */</span>
<a name="138" /><span class="True">     138:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST1RPVFlQRV8w"><span class="b">EPROTOTYPE</span></a>    <span class="c">41</span>        <span class="k">/* Protocol wrong type for socket */</span>
<a name="139" /><span class="True">     139:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PUFJPVE9PUFRfMA__"><span class="b">ENOPROTOOPT</span></a>    <span class="c">42</span>        <span class="k">/* Protocol not available */</span>
<a name="140" /><span class="True">     140:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST1RPTk9TVVBQT1JUXzA_"><span class="b">EPROTONOSUPPORT</span></a>    <span class="c">43</span>        <span class="k">/* Protocol not supported */</span>
<a name="141" /><span class="True">     141:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="142" /><span class="True">     142:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVNPQ0tUTk9TVVBQT1JUXzA_"><span class="b">ESOCKTNOSUPPORT</span></a>    <span class="c">44</span>        <span class="k">/* Socket type not supported */</span>
<a name="143" /><span class="True">     143:</span> <span class="f">#</span><span class="n">endif</span>
<a name="144" /><span class="True">     144:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PVFNVUF8w"><span class="b">ENOTSUP</span></a>        <span class="c">45</span>        <span class="k">/* Operation not supported */</span>
<a name="145" /><span class="True">     145:</span> <span class="f">#</span><span class="n">if</span> <span class="f">!</span><a href="macros_ref.html#_X19EQVJXSU5fVU5JWDAzXzA_"><span class="b">__DARWIN_UNIX03</span></a> <span class="f">&amp;&amp;</span> <span class="f">!</span><span class="b">defined</span><span class="f">(</span><span class="b">KERNEL</span><span class="f">)</span>
<a name="146" /><span class="True">     146:</span> <span class="k">/*</span>
<a name="147" /><span class="True">     147:</span> <span class="k"> * This is the same for binary and source copmpatability, unless compiling</span>
<a name="148" /><span class="True">     148:</span> <span class="k"> * the kernel itself, or compiling __DARWIN_UNIX03; if compiling for the</span>
<a name="149" /><span class="True">     149:</span> <span class="k"> * kernel, the correct value will be returned.  If compiling non-POSIX</span>
<a name="150" /><span class="True">     150:</span> <span class="k"> * source, the kernel return value will be converted by a stub in libc, and</span>
<a name="151" /><span class="True">     151:</span> <span class="k"> * if compiling source with __DARWIN_UNIX03, the conversion in libc is not</span>
<a name="152" /><span class="True">     152:</span> <span class="k"> * done, and the caller gets the expected (discrete) value.</span>
<a name="153" /><span class="True">     153:</span> <span class="k"> */</span>
<a name="154" /><span class="True">     154:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU9QTk9UU1VQUF8w"><span class="b">EOPNOTSUPP</span></a>     <a href="macros_noref.html#_RU5PVFNVUF8w"><span class="b">ENOTSUP</span></a>    <span class="k">/* Operation not supported on socket */</span>
<a name="155" /><span class="True">     155:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* !__DARWIN_UNIX03 &amp;&amp; !KERNEL */</span>
<a name="156" /><span class="True">     156:</span> 
<a name="157" /><span class="True">     157:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="158" /><span class="True">     158:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBGTk9TVVBQT1JUXzA_"><span class="b">EPFNOSUPPORT</span></a>    <span class="c">46</span>        <span class="k">/* Protocol family not supported */</span>
<a name="159" /><span class="True">     159:</span> <span class="f">#</span><span class="n">endif</span>
<a name="160" /><span class="True">     160:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFGTk9TVVBQT1JUXzA_"><span class="b">EAFNOSUPPORT</span></a>    <span class="c">47</span>        <span class="k">/* Address family not supported by protocol family */</span>
<a name="161" /><span class="True">     161:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFERFJJTlVTRV8w"><span class="b">EADDRINUSE</span></a>    <span class="c">48</span>        <span class="k">/* Address already in use */</span>
<a name="162" /><span class="True">     162:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFERFJOT1RBVkFJTF8w"><span class="b">EADDRNOTAVAIL</span></a>    <span class="c">49</span>        <span class="k">/* Can&apos;t assign requested address */</span>
<a name="163" /><span class="True">     163:</span> 
<a name="164" /><span class="True">     164:</span> <span class="k">/* ipc/network software -- operational errors */</span>
<a name="165" /><span class="True">     165:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5FVERPV05fMA__"><span class="b">ENETDOWN</span></a>    <span class="c">50</span>        <span class="k">/* Network is down */</span>
<a name="166" /><span class="True">     166:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5FVFVOUkVBQ0hfMA__"><span class="b">ENETUNREACH</span></a>    <span class="c">51</span>        <span class="k">/* Network is unreachable */</span>
<a name="167" /><span class="True">     167:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5FVFJFU0VUXzA_"><span class="b">ENETRESET</span></a>    <span class="c">52</span>        <span class="k">/* Network dropped connection on reset */</span>
<a name="168" /><span class="True">     168:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUNPTk5BQk9SVEVEXzA_"><span class="b">ECONNABORTED</span></a>    <span class="c">53</span>        <span class="k">/* Software caused connection abort */</span>
<a name="169" /><span class="True">     169:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUNPTk5SRVNFVF8w"><span class="b">ECONNRESET</span></a>    <span class="c">54</span>        <span class="k">/* Connection reset by peer */</span>
<a name="170" /><span class="True">     170:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PQlVGU18w"><span class="b">ENOBUFS</span></a>        <span class="c">55</span>        <span class="k">/* No buffer space available */</span>
<a name="171" /><span class="True">     171:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUlTQ09OTl8w"><span class="b">EISCONN</span></a>        <span class="c">56</span>        <span class="k">/* Socket is already connected */</span>
<a name="172" /><span class="True">     172:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVENPTk5fMA__"><span class="b">ENOTCONN</span></a>    <span class="c">57</span>        <span class="k">/* Socket is not connected */</span>
<a name="173" /><span class="True">     173:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="174" /><span class="True">     174:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVNIVVRET1dOXzA_"><span class="b">ESHUTDOWN</span></a>    <span class="c">58</span>        <span class="k">/* Can&apos;t send after socket shutdown */</span>
<a name="175" /><span class="True">     175:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVRPT01BTllSRUZTXzA_"><span class="b">ETOOMANYREFS</span></a>    <span class="c">59</span>        <span class="k">/* Too many references: can&apos;t splice */</span>
<a name="176" /><span class="True">     176:</span> <span class="f">#</span><span class="n">endif</span>
<a name="177" /><span class="True">     177:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVRJTUVET1VUXzA_"><span class="b">ETIMEDOUT</span></a>    <span class="c">60</span>        <span class="k">/* Operation timed out */</span>
<a name="178" /><span class="True">     178:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUNPTk5SRUZVU0VEXzA_"><span class="b">ECONNREFUSED</span></a>    <span class="c">61</span>        <span class="k">/* Connection refused */</span>
<a name="179" /><span class="True">     179:</span> 
<a name="180" /><span class="True">     180:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUxPT1BfMA__"><span class="b">ELOOP</span></a>        <span class="c">62</span>        <span class="k">/* Too many levels of symbolic links */</span>
<a name="181" /><span class="True">     181:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5BTUVUT09MT05HXzA_"><span class="b">ENAMETOOLONG</span></a>    <span class="c">63</span>        <span class="k">/* File name too long */</span>
<a name="182" /><span class="True">     182:</span> 
<a name="183" /><span class="True">     183:</span> <span class="k">/* should be rearranged */</span>
<a name="184" /><span class="True">     184:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="185" /><span class="True">     185:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUhPU1RET1dOXzA_"><span class="b">EHOSTDOWN</span></a>    <span class="c">64</span>        <span class="k">/* Host is down */</span>
<a name="186" /><span class="True">     186:</span> <span class="f">#</span><span class="n">endif</span>
<a name="187" /><span class="True">     187:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUhPU1RVTlJFQUNIXzA_"><span class="b">EHOSTUNREACH</span></a>    <span class="c">65</span>        <span class="k">/* No route to host */</span>
<a name="188" /><span class="True">     188:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PVEVNUFRZXzA_"><span class="b">ENOTEMPTY</span></a>    <span class="c">66</span>        <span class="k">/* Directory not empty */</span>
<a name="189" /><span class="True">     189:</span> 
<a name="190" /><span class="True">     190:</span> <span class="k">/* quotas &amp; mush */</span>
<a name="191" /><span class="True">     191:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="192" /><span class="True">     192:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST0NMSU1fMA__"><span class="b">EPROCLIM</span></a>    <span class="c">67</span>        <span class="k">/* Too many processes */</span>
<a name="193" /><span class="True">     193:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVVTRVJTXzA_"><span class="b">EUSERS</span></a>        <span class="c">68</span>        <span class="k">/* Too many users */</span>
<a name="194" /><span class="True">     194:</span> <span class="f">#</span><span class="n">endif</span>
<a name="195" /><span class="True">     195:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RURRVU9UXzA_"><span class="b">EDQUOT</span></a>        <span class="c">69</span>        <span class="k">/* Disc quota exceeded */</span>
<a name="196" /><span class="True">     196:</span> 
<a name="197" /><span class="True">     197:</span> <span class="k">/* Network File System */</span>
<a name="198" /><span class="True">     198:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVNUQUxFXzA_"><span class="b">ESTALE</span></a>        <span class="c">70</span>        <span class="k">/* Stale NFS file handle */</span>
<a name="199" /><span class="True">     199:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="200" /><span class="True">     200:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVJFTU9URV8w"><span class="b">EREMOTE</span></a>        <span class="c">71</span>        <span class="k">/* Too many levels of remote in path */</span>
<a name="201" /><span class="True">     201:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUJBRFJQQ18w"><span class="b">EBADRPC</span></a>        <span class="c">72</span>        <span class="k">/* RPC struct is bad */</span>
<a name="202" /><span class="True">     202:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVJQQ01JU01BVENIXzA_"><span class="b">ERPCMISMATCH</span></a>    <span class="c">73</span>        <span class="k">/* RPC version wrong */</span>
<a name="203" /><span class="True">     203:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST0dVTkFWQUlMXzA_"><span class="b">EPROGUNAVAIL</span></a>    <span class="c">74</span>        <span class="k">/* RPC prog. not avail */</span>
<a name="204" /><span class="True">     204:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST0dNSVNNQVRDSF8w"><span class="b">EPROGMISMATCH</span></a>    <span class="c">75</span>        <span class="k">/* Program version wrong */</span>
<a name="205" /><span class="True">     205:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST0NVTkFWQUlMXzA_"><span class="b">EPROCUNAVAIL</span></a>    <span class="c">76</span>        <span class="k">/* Bad procedure for program */</span>
<a name="206" /><span class="True">     206:</span> <span class="f">#</span><span class="n">endif</span>
<a name="207" /><span class="True">     207:</span> 
<a name="208" /><span class="True">     208:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PTENLXzA_"><span class="b">ENOLCK</span></a>        <span class="c">77</span>        <span class="k">/* No locks available */</span>
<a name="209" /><span class="True">     209:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PU1lTXzA_"><span class="b">ENOSYS</span></a>        <span class="c">78</span>        <span class="k">/* Function not implemented */</span>
<a name="210" /><span class="True">     210:</span> 
<a name="211" /><span class="True">     211:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="212" /><span class="True">     212:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUZUWVBFXzA_"><span class="b">EFTYPE</span></a>        <span class="c">79</span>        <span class="k">/* Inappropriate file type or format */</span>
<a name="213" /><span class="True">     213:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUFVVEhfMA__"><span class="b">EAUTH</span></a>        <span class="c">80</span>        <span class="k">/* Authentication error */</span>
<a name="214" /><span class="True">     214:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5FRURBVVRIXzA_"><span class="b">ENEEDAUTH</span></a>    <span class="c">81</span>        <span class="k">/* Need authenticator */</span>
<a name="215" /><span class="True">     215:</span> 
<a name="216" /><span class="True">     216:</span> <span class="k">/* Intelligent device errors */</span>
<a name="217" /><span class="True">     217:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBXUk9GRl8w"><span class="b">EPWROFF</span></a>        <span class="c">82</span>    <span class="k">/* Device power is off */</span>
<a name="218" /><span class="True">     218:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RURFVkVSUl8w"><span class="b">EDEVERR</span></a>        <span class="c">83</span>    <span class="k">/* Device error, e.g. paper out */</span>
<a name="219" /><span class="True">     219:</span> <span class="f">#</span><span class="n">endif</span>
<a name="220" /><span class="True">     220:</span> 
<a name="221" /><span class="True">     221:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU9WRVJGTE9XXzA_"><span class="b">EOVERFLOW</span></a>    <span class="c">84</span>        <span class="k">/* Value too large to be stored in data type */</span>
<a name="222" /><span class="True">     222:</span> 
<a name="223" /><span class="True">     223:</span> <span class="k">/* Program loading errors */</span>
<a name="224" /><span class="True">     224:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="225" /><span class="True">     225:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUJBREVYRUNfMA__"><span class="b">EBADEXEC</span></a>    <span class="c">85</span>    <span class="k">/* Bad executable */</span>
<a name="226" /><span class="True">     226:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUJBREFSQ0hfMA__"><span class="b">EBADARCH</span></a>    <span class="c">86</span>    <span class="k">/* Bad CPU type in executable */</span>
<a name="227" /><span class="True">     227:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RVNITElCVkVSU18w"><span class="b">ESHLIBVERS</span></a>    <span class="c">87</span>    <span class="k">/* Shared library version mismatch */</span>
<a name="228" /><span class="True">     228:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUJBRE1BQ0hPXzA_"><span class="b">EBADMACHO</span></a>    <span class="c">88</span>    <span class="k">/* Malformed Macho file */</span>
<a name="229" /><span class="True">     229:</span> <span class="f">#</span><span class="n">endif</span>
<a name="230" /><span class="True">     230:</span> 
<a name="231" /><span class="True">     231:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUNBTkNFTEVEXzA_"><span class="b">ECANCELED</span></a>    <span class="c">89</span>        <span class="k">/* Operation canceled */</span>
<a name="232" /><span class="True">     232:</span> 
<a name="233" /><span class="True">     233:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUlEUk1fMA__"><span class="b">EIDRM</span></a>        <span class="c">90</span>        <span class="k">/* Identifier removed */</span>
<a name="234" /><span class="True">     234:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PTVNHXzA_"><span class="b">ENOMSG</span></a>        <span class="c">91</span>        <span class="k">/* No message of desired type */</span>   
<a name="235" /><span class="True">     235:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUlMU0VRXzA_"><span class="b">EILSEQ</span></a>        <span class="c">92</span>        <span class="k">/* Illegal byte sequence */</span>
<a name="236" /><span class="True">     236:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="237" /><span class="True">     237:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PQVRUUl8w"><span class="b">ENOATTR</span></a>        <span class="c">93</span>        <span class="k">/* Attribute not found */</span>
<a name="238" /><span class="True">     238:</span> <span class="f">#</span><span class="n">endif</span>
<a name="239" /><span class="True">     239:</span> 
<a name="240" /><span class="True">     240:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RUJBRE1TR18w"><span class="b">EBADMSG</span></a>        <span class="c">94</span>        <span class="k">/* Bad message */</span>
<a name="241" /><span class="True">     241:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU1VTFRJSE9QXzA_"><span class="b">EMULTIHOP</span></a>    <span class="c">95</span>        <span class="k">/* Reserved */</span>
<a name="242" /><span class="True">     242:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU5PREFUQV8w"><span class="b">ENODATA</span></a>        <span class="c">96</span>        <span class="k">/* No message available on STREAM */</span>
<a name="243" /><span class="True">     243:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PTElOS18w"><span class="b">ENOLINK</span></a>        <span class="c">97</span>        <span class="k">/* Reserved */</span>
<a name="244" /><span class="True">     244:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PU1JfMA__"><span class="b">ENOSR</span></a>        <span class="c">98</span>        <span class="k">/* No STREAM resources */</span>
<a name="245" /><span class="True">     245:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PU1RSXzA_"><span class="b">ENOSTR</span></a>        <span class="c">99</span>        <span class="k">/* Not a STREAM */</span>
<a name="246" /><span class="True">     246:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVBST1RPXzA_"><span class="b">EPROTO</span></a>        <span class="c">100</span>        <span class="k">/* Protocol error */</span>
<a name="247" /><span class="True">     247:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RVRJTUVfMA__"><span class="b">ETIME</span></a>        <span class="c">101</span>        <span class="k">/* STREAM ioctl timeout */</span>
<a name="248" /><span class="True">     248:</span> 
<a name="249" /><span class="True">     249:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fVU5JWDAzXzA_"><span class="b">__DARWIN_UNIX03</span></a> <span class="f">||</span> <span class="b">defined</span><span class="f">(</span><span class="b">KERNEL</span><span class="f">)</span>
<a name="250" /><span class="True">     250:</span> <span class="k">/* This value is only discrete when compiling __DARWIN_UNIX03, or KERNEL */</span>
<a name="251" /><span class="True">     251:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RU9QTk9UU1VQUF8w"><span class="b">EOPNOTSUPP</span></a>    <span class="c">102</span>        <span class="k">/* Operation not supported on socket */</span>
<a name="252" /><span class="True">     252:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* __DARWIN_UNIX03 || KERNEL */</span>
<a name="253" /><span class="True">     253:</span> 
<a name="254" /><span class="True">     254:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PUE9MSUNZXzA_"><span class="b">ENOPOLICY</span></a>    <span class="c">103</span>        <span class="k">/* No such policy registered */</span>
<a name="255" /><span class="True">     255:</span> 
<a name="256" /><span class="True">     256:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <span class="c">200809L</span>
<a name="257" /><span class="True">     257:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU5PVFJFQ09WRVJBQkxFXzA_"><span class="b">ENOTRECOVERABLE</span></a> <span class="c">104</span>        <span class="k">/* State not recoverable */</span>
<a name="258" /><span class="True">     258:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_RU9XTkVSREVBRF8w"><span class="b">EOWNERDEAD</span></a>      <span class="c">105</span>        <span class="k">/* Previous owner died */</span>
<a name="259" /><span class="True">     259:</span> <span class="f">#</span><span class="n">endif</span>
<a name="260" /><span class="True">     260:</span> 
<a name="261" /><span class="True">     261:</span> <span class="f">#</span><span class="n">if</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19MRVZFTF8w"><span class="b">__DARWIN_C_LEVEL</span></a> <span class="f">&gt;=</span> <a href="macros_ref.html#_X19EQVJXSU5fQ19GVUxMXzA_"><span class="b">__DARWIN_C_FULL</span></a>
<a name="262" /><span class="True">     262:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RVFGVUxMXzA_"><span class="b">EQFULL</span></a>        <span class="c">106</span>        <span class="k">/* Interface output queue is full */</span>
<a name="263" /><span class="True">     263:</span> <span class="f">#</span><span class="n">define</span>    <a href="macros_noref.html#_RUxBU1RfMA__"><span class="b">ELAST</span></a>        <span class="c">106</span>        <span class="k">/* Must be equal largest errno */</span>
<a name="264" /><span class="True">     264:</span> <span class="f">#</span><span class="n">endif</span>
<a name="265" /><span class="True">     265:</span> 
<a name="266" /><span class="True">     266:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* _SYS_ERRNO_H_ */</span>
<a name="267" /><span class="True">     267:</span> </pre>
  </body>
</html>
